package cn.edu.lingnan.tourism.service;

import cn.edu.lingnan.tourism.exeption.TourismException;
import cn.edu.lingnan.tourism.pojo.User;

import java.util.List;


public interface UserService {
    public int insertUser(User user)throws TourismException;

    public User selectUserByUsernameAndPassword(User user) throws TourismException;

    public int updateUser(User user)throws TourismException;
    public User getUserByUid(Integer uid);
    public List<User> getUserByType(User user);
}
